/*
* Copyright (c) 2011 Connection Road.  All rights reserved.
* This program and the accompanying material are made available
* under the terms of the Eclipse Public Licnese v1.0 which is
* available at http://www.eclipse.org/legal/epl-v10.html
*/

using System;

namespace CrSyncFilesUtils
{
    public class FileSynUpdateUIWithProgressEventHandlerArgs : EventArgs
    {
        public FileSynUpdateUIWithProgressEventHandlerArgs(int totalFilesFound, int totalDirectoriesFound, long totalFileSize, long totalBytesToCopy, int totalDeletedFolders, int totalDeletedFiles, int totalRenamedFiles, int totalCreatedFolders, int totalCreatedFiles, int totalOverWrittenFiles, int totalSkippedFiles)
        {
            TotalFilesFound = totalFilesFound;
            TotalDirectoriesFound = totalDirectoriesFound;
            TotalFileSize = totalFileSize;
            TotalBytesToCopy = totalBytesToCopy;
            TotalDeletedFolders = totalDeletedFolders;
            TotalDeletedFiles = totalDeletedFiles;
            TotalRenamedFiles = totalRenamedFiles;
            TotalCreatedFolders = totalCreatedFolders;
            TotalCreatedFiles = totalCreatedFiles;
            TotalOverWrittenFiles = totalOverWrittenFiles;
            TotalSkippedFiles = totalSkippedFiles;
        }

        public FileSynUpdateUIWithProgressEventHandlerArgs(int totalDeletedFolders, 
                                                            int totalDeletedFiles, 
                                                            int totalRenamedFiles, 
                                                            int totalCreatedFolders, 
                                                            int totalCreatedFiles, 
                                                            int totalOverWrittenFiles, 
                                                            int totalSkippedFiles, 
                                                            string message)
        {
            // TODO: Complete member initialization
            TotalDeletedFolders = totalDeletedFolders;
            TotalDeletedFiles = totalDeletedFiles;
            TotalRenamedFiles = totalRenamedFiles;
            TotalCreatedFolders = totalCreatedFolders;
            TotalCreatedFiles = totalCreatedFiles;
            TotalOverWrittenFiles = totalOverWrittenFiles;
            TotalSkippedFiles = totalSkippedFiles;
            MessageDisplay = message;
        }

        public FileSynUpdateUIWithProgressEventHandlerArgs()
        {
            // TODO: Complete member initialization
        }

        public int? TotalFilesFound { get; set; }
        public int? TotalDirectoriesFound { get; set; }
        public long? TotalFileSize { get; set; }
        public long? TotalBytesToCopy { get; set; }
        public int? TotalDeletedFolders { get; set; }
        public int? TotalDeletedFiles { get; set; }
        public int? TotalRenamedFiles { get; set; }
        public int? TotalCreatedFolders { get; set; }
        public int? TotalCreatedFiles { get; set; }
        public int? TotalOverWrittenFiles { get; set; }
        public int? TotalSkippedFiles { get; set; }
        public string MessageDisplay { get; set; }
    }
}
